DevJourney

C/Even numbers 1 to 50/FOR/EVN1TO50.C

//Program to print even numbers from 1 to 50
#include<stdio.h>
#include<conio.h>
int main()
{
	int i;
	
	for(i=2;i<=50;i=i+2)
		{
			printf("%d ",i);
		}
	getch();
    return 0;
}
View on GitHub